percentiles for grouped data